package sg.edu.nus.iss.vmcs.system;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class TerminateButtonListener implements ActionListener {

	private MainController mctrl;
	public TerminateButtonListener(MainController mctrl) {
		super();
		this.mctrl = mctrl;
	}
	@Override
	public void actionPerformed(ActionEvent arg0) {
		mctrl.terminateFault();		
	}

}
